using System;

namespace RBAC.Domain.Dto.Output
{
    /// <summary>
    /// 工序列表 DTO（联查结果）
    /// </summary>
    public class ProcessListDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 工序编码
        /// </summary>
        public string? ProcessCode { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string? ProcessName { get; set; }
        /// <summary>
        /// 系统编码
        /// </summary>
        public string? SystemCode { get; set; }
        /// <summary>
        /// 分类ID
        /// </summary>
        public long? ClassificationId { get; set; } 
        /// <summary>
        /// 分类名称
        /// </summary>
        public string? ClassificationName { get; set; } 
        /// <summary>
        /// 部门ID
        /// </summary>
        public long? DepartmentId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string? DepartmentName { get; set; }  
        /// <summary>
        /// 所属用户ID
        /// </summary>
        public long? OwnerUserId { get; set; }
        /// <summary>
        /// 所属用户名称
        /// </summary>
        public string? OwnerUserName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateUser { get; set; }
        /// <summary>
        /// 附件集合（列表附带）
        /// </summary>
        public List<ProcessAttachmentDto>? Attachments { get; set; }
    }
}
